import django_filters
from .models import Message

class MessageFilter(django_filters.rest_framework.FilterSet):
    """过滤类"""

    class Meta:
        model = Message
        fields = '__all__'